# -*- coding:utf-8 -*-
import pymongo

# this is a test
client = pymongo.MongoClient('localhost',27017)
jdly = client['jdly']
# img_list = jdly['img_list']
# img_url = jdly['img_list']
for img_url in  jdly['img_list'].find():
	for img in img_url['img_url_info']:
		jdly['img_url'].insert_one({'url':img})
		print(img,'写入成功')

print(jdly['img_url'].find().)
